package com.bluedot.www.core.pojo.BO;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;

import java.io.Serializable;

/**
 * <p>
 * 家庭成员excel表
 * </p>
 *
 * @author Deng HongWei
 * @since 2021/9/9 14:45
 */
@ContentRowHeight(20)
@HeadRowHeight(30)
@ColumnWidth(25)
public class ExcelFamilyNumber implements Serializable {

    @ExcelIgnore
    private static final long serialVersionUID = 1L;

    /**
     * 客户序号
     */
    @ColumnWidth(8)
    @ExcelProperty(value = "客户序号")
    private Integer customerId;

    /**
     * 家庭成员姓名
     */
    @ExcelProperty(value = "家庭成员姓名")
    private String name;

    /**
     * 性别（男，女）
     */
    @ColumnWidth(10)
    @ExcelProperty(value = "性别")
    private String gender;

    /**
     * 与客户的关系
     */
    @ExcelProperty(value = "与客户的关系")
    private String relationship;

    /**
     * 电话号码
     */
    @ExcelProperty(value = "电话号码")
    private String phoneNum;

    public ExcelFamilyNumber() {
    }

    public ExcelFamilyNumber(Integer customerId, String name, String gender, String relationship, String phoneNum) {
        this.customerId = customerId;
        this.name = name;
        this.gender = gender;
        this.relationship = relationship;
        this.phoneNum = phoneNum;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "ExcelFamilyNumber{" +
                "customerId=" + customerId +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", relationship='" + relationship + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                '}';
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }
}
